﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="HotelLogin.aspx.cs" Inherits="AssignmentSWEN3.HotelLogin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style6
        {
            width: 77%;
            height: 7px;
        }
        .auto-style7
        {
            width: 465px;
            height: 375px;
            text-align: center;
        }
        .auto-style8
        {
            text-align: left;
            width: 582px;
        }
        .auto-style9
        {
            text-align: right;
            font-size: x-large;
            color: #FFFFFF;
            width: 128px;
        }
        .auto-style11
        {
            text-align: right;
            height: 29px;
            font-size: x-large;
            color: #FFFFFF;
            width: 119px;
        }
        .auto-style12
        {
            height: 29px;
        }
        .auto-style13
        {
            font-size: large;
        }
        .auto-style14
        {
            color: #FFFFFF;
            font-size: xx-large;
        }
        .auto-style15
        {
            width: 903px;
            height: 651px;
        }
        .auto-style16
        {
            color: #FFFFFF;
        }
        .auto-style17
        {
            font-size: xx-large;
        }
        .auto-style18
        {
            font-size: large;
            width: 582px;
        }
        .auto-style19
        {
            width: 582px;
        }
        .auto-style20
        {
            height: 651px;
            width: 514px;
        }
        .auto-style21
        {
            width: 210px;
        }
        .auto-style22
        {
            height: 29px;
            width: 211px;
        }
        .auto-style23
        {
            color: #FFFFFF;
            font-size: 36pt;
            text-align: center;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1 class="auto-style23">Welcome Delonix Regia Management System</h1>
    <table align="center" class="auto-style6">
        <tr>
            <td class="auto-style15">
                <table class="auto-style6">
                    <tr>
                        <td class="auto-style18"><span class="auto-style14">Welcome to Delonix Regia Hotel Management System.<br />
                            </span><span class="auto-style17">
                            <br class="auto-style16" />
                            </span><span class="auto-style16"><span class="auto-style17">Please Enter your username and password.</span></span></td>
                    </tr>
                    <tr>
                        <td class="auto-style19">
                            <asp:Label ID="Labelerror" runat="server" CssClass="auto-style13" ForeColor="Red"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style18">
                            <table class="auto-style6">
                                <tr>
                                    <td class="auto-style11">Username:</td>
                                    <td class="auto-style22">
                                        <asp:TextBox ID="TextBox1" runat="server" CssClass="auto-style13" Height="41px"></asp:TextBox>
                                    </td>
                                    <td class="auto-style12">
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" CssClass="auto-style13" ErrorMessage="Please enter a valid username" ForeColor="Red"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style18">
                            <table class="auto-style6">
                                <tr>
                                    <td class="auto-style9">Password:</td>
                                    <td class="auto-style21">
                                        <asp:TextBox ID="TextBox2" runat="server" CssClass="auto-style13" Height="40px" TextMode="Password"></asp:TextBox>
                                    </td>
                                    <td>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" CssClass="auto-style13" ErrorMessage="Please enter your password" ForeColor="Red"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td class="auto-style8">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Button ID="LoginButton" runat="server" BackColor="#666666" CssClass="auto-style13" ForeColor="#FFCC00" OnClick="LoginButton_Click" Text="Login" Width="87px" />
                            <span class="auto-style13">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
                            <asp:Button ID="ExitButton" runat="server" BackColor="#666666" CausesValidation="False" CssClass="auto-style13" ForeColor="#FFCC00" OnClick="ExitButton_Click" Text="Exit" Width="90px" />
                        </td>
                    </tr>
                </table>
            </td>
            <td class="auto-style20">
                <img alt="" class="auto-style7" src="images/SHAR-Bg-Hotel-Lobby.jpg" /></td>
        </tr>
    </table>
</asp:Content>
